//
//  DBJIllCaseTagModel.m
//  DBJ
//
//  Created by Captain_czq on 16/11/14.
//  Copyright © 2016年 itcast. All rights reserved.
//

#import "DBJIllCaseTagModel.h"

@implementation DBJIllCaseTagModel


/* 实现获取模型数组的方法 */
+(NSArray *)getmodelPlist {
    
    //获取plist文件中的数据
    NSURL *url=[[NSBundle mainBundle]URLForResource:@"illCaseTag.plist" withExtension:nil];
    NSArray *arry=[NSArray arrayWithContentsOfURL:url];
    //创建可变模型数组接受模型对象
    NSMutableArray *arrM=[NSMutableArray arrayWithCapacity:arry.count];
    for(NSDictionary *dict in arry)
    {
        DBJIllCaseTagModel *model=[[DBJIllCaseTagModel alloc]init];
        [model setValuesForKeysWithDictionary:dict];
        [arrM addObject:model];
    }
    
    return  arrM.copy;
}

@end
